package com.lantosec.hmrp.modules.category.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lantosec.hmrp.core.kit.PageVO;
import com.lantosec.hmrp.modules.category.entity.AssetsCheckNote;
import com.lantosec.hmrp.modules.category.entity.AssetsImage;
import com.lantosec.hmrp.modules.category.entity.AuditInfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 盘点记录 服务类
 * </p>
 *
 * @author AutoCode
 * @since 2020-04-02
 */
public interface IAssetsCheckNoteService extends IService<AssetsCheckNote> {

    Page<AssetsCheckNote> normalUnaudited(PageVO<AssetsCheckNote> page, AuditInfo info);

    Page<AssetsCheckNote> changeUnaudited(PageVO<AssetsCheckNote> page, AuditInfo info);

    Page<AssetsCheckNote> audited(PageVO<AssetsCheckNote> page, AuditInfo info);

    void check(Map<String, Object> param);

    Page<AssetsCheckNote> queryAssetsCheckNoteList(PageVO<AssetsCheckNote> page, String areaId, String deptId, String checkUserName, String planId, String checkType);

    List<AssetsCheckNote> querySingleCheckList(String assetsId);

    List<AssetsImage> queryHistoryPic(String assetsId);

    Map summarize(String planId, String deptId, String areaId);

    Map complete(String planId,String deptId,String areaId);

    AssetsCheckNote getInfo(String assetsId,String planId);

    void bulkInventory(Map<String, Object> map);

    Map completeByLableType(String planId, String deptId, String areaId, String lableType);
}
